TTransform2D Class Reference

Inheritance diagram for TTransform2D:

TMatrix33 TMCObject List of all members.

Public Member Functions

void Transform (const TVector2 &source, TVector2 &dest)
 TTransform2D ()
 TTransform2D (const TMatrix33 &original)
 TTransform2D (const real r00, const real r01, const real tx, const real r10, const real r11, const real ty)
 TTransform2D (const TMatrix22 &m, const TVector2 &v)
TVector2 operator * (const TVector2 &v)
TVector2 Homogenize (const TVector3 &v)
void SetTranslation (const TVector2 &v)
void SetRotation (const TMatrix22 &v)

Public Attributes

TMatrix22 fRotationAndScale
TVector2 fTranslation

Detailed Description

TTransform2D is a matrix of the form :
     [ r00 r01 tx ]
        [ r10 r11 ty ]
        [ 0   0   1  ]
        


Constructor & Destructor Documentation

TTransform2D::TTransform2D (   )  [inline]
 

TTransform2D::TTransform2D (  const TMatrix33 &  original  )  [inline]
 

TTransform2D::TTransform2D (  const real  r00,
const real  r01,
const real  tx,
const real  r10,
const real  r11,
const real  ty
)  [inline]
 

TTransform2D::TTransform2D (  const TMatrix22 &  m,
const TVector2 &  v
)  [inline]
 


Member Function Documentation

TVector2 TTransform2D::Homogenize (  const TVector3 &  v  )  [inline]
 

[x, y, w] -> [x/w, y/w, 1]

TVector2 TTransform2D::operator * (  const TVector2 &  v  )  [inline]
 

void TTransform2D::SetRotation (  const TMatrix22 &  v  )  [inline]
 

void TTransform2D::SetTranslation (  const TVector2 &  v  )  [inline]
 

void TTransform2D::Transform (  const TVector2 &  source,
TVector2 &  dest
)  [inline]
 


Member Data Documentation

TMatrix22 TTransform2D::fRotationAndScale
 

TVector2 TTransform2D::fTranslation
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 7 14:27:50 2005 for Carrara SDK Doc by  doxygen 1.4.5